/**
 * 
 */
package com.ap.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author Dilip.Sridhar
 *
 */
@Embeddable
public class MessageBusinessRuleDetailsId implements Serializable {
	
	private static final long serialVersionUID = 7518084306091590283L;
	
	@Column(name = "MESSAGE_TYPE_CODE")
    private String messageTypeCode;
		
	
	@Column(name = "INT_BUSINESS_ERROR_CODE")
	private String internalBusinessErrorCode;
	
	
	private MessageBusinessRuleDetailsId() {}
	
	public MessageBusinessRuleDetailsId(String messageTypeCode, String internalBusinessErrorCode) { 
		this.messageTypeCode = messageTypeCode;
		this.internalBusinessErrorCode = internalBusinessErrorCode;
		
	}
	/**
	 * @return the messageTypeCode
	 */
	public String getMessageTypeCode() {
		return messageTypeCode;
	}
	
	/**
	 * @return the internalBusinessErrorCode
	 */
	public String getInternalBusinessErrorCode() {
		return internalBusinessErrorCode;
	}	

}
